[PATCH] rts: Fix invocation of __ieee_set_fp_control() on alpha-linux
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Thu, 3 Oct 2024 12:30:23 +0000 (14:30 +0200)
committerGianfranco Costamagna <locutusofborg@debian.org>
Mon, 17 Feb 2025 08:44:23 +0000 (09:44 +0100)
commitb54cc8898881d39bcd2be805d53ec26a4041d701
treee41d1e88af6e2adc5492e07478f7ae48cb0b05a6
parent89486b6ec4d20d8af81e0d23bc2e1a1320719c3f
[PATCH] rts: Fix invocation of __ieee_set_fp_control() on alpha-linux

Fixes the following error when building GHC on alpha-linux:

rts/posix/Signals.c: In function ‘initDefaultHandlers’:

rts/posix/Signals.c:709:5: error:
     error: implicit declaration of function ‘ieee_set_fp_control’ [-Wimplicit-function-declaration]
      709 |     ieee_set_fp_control(0);
          |     ^~~~~~~~~~~~~~~~~~~
    |
709 |     ieee_set_fp_control(0);
    |

Gbp-Pq: Name alpha-fix-ieee_set_fp_control-invocation.patch
rts/posix/Signals.c